<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>用户注册</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body bgcolor="black">
		<div
			style="margin: auto; width: 60%; height: 60%; background-color: 2F2B2B;">
			<div
				style="margin: auto; width: 90%; height: 90%; background-color: rgb(128, 128, 0);">
				<form method="post" action="/blog/UserAction?method=register"
					onsubmit="return check(this)">
					<div style="margin-top: 100px;">
						<table border="0" align="center" width="550">
							<tbody>
								<tr>
									<td colspan="3">
										填写账户信息
									</td>
								</tr>
								<tr>
									<td>
										用户名：
									</td>
									<td>
										<input type="text" name="userName" value="">
									</td>
									<td>
										&nbsp;
									</td>
								</tr>
								<tr>
									<td>
										密码：
									</td>
									<td>
										<input type="password" name="userPwd" value="">
									</td>
									<td>
										&nbsp;
									</td>
								</tr>
								<tr>
									<td>
										确认密码：
									</td>
									<td>
										<input type="password" name="userPwd1" value="">
									</td>
									<td>
										&nbsp;
									</td>
								</tr>
								<tr>
									<td>
										性别：
									</td>
									<td>
										<input type="radio" name="userSex" value="男" checked="checked" />
										男 &nbsp;
										<input type="radio" name="userSex" value="女" />
										女
									</td>
									<td>
										&nbsp;
									</td>
								</tr>
								<tr>
									<td>
										邮件地址：
									</td>
									<td>
										<input type="text" name="userEmail" value="" />
									</td>
									<td>
										&nbsp;
									</td>
								</tr>
								<tr>
									<td>
										基本情况：
									</td>
									<td colspan="2">
										<textarea name="userBasicInfo" rows="5" cols="50" value=""></textarea>
									</td>
								</tr>
								<tr>
									<td colspan="3">
										<input type="checkbox" name="accept" value="yes" />
										我已仔细阅读并接受用户协议
									</td>
								</tr>
								<tr>
									<td colspan="3">
										<input type="submit" value="确定" />
										&nbsp;
										<input type="button" value="取消"
											onclick="window.history.back()" />
									</td>
								</tr>

							</tbody>
						</table>
					</div>
				</form>
			</div>
	</body>
</html>
